Skip to content

Conversation

@kbendick
Copy link
Contributor

As noticed in this PR, #1423, changes to the build.gradle file were not properly handled by the autolabeler.

I have updated the autolabeler config to handle this case. I've also merged this into my local repo in order to test for this.

I validated the change on a top level file named gradle.properties (to check both top level files as well as files with only the substing gradle) in this PR in my local repo.

I also tested against the build.gradle file, as that was the original file and it differed from the previous one in that gradle is now the ending substring (checking padding on either side).

I also performed two checks for files in the gradle directory, one that checks on a file with gradle in the name and one that checks solely on a change that matches the gradle dir in the path, with no gradle in the file name.

Suffice it to say that this has ben pretty pedantically checked 😅 .

This PR closes this issue: #1447

cc @rdblue who noticed that the file didn't match. Thank you for that!

@kbendick
Copy link
Contributor Author

For anybody who looked at the demo PRs in my peronal repo, notw that 've already overwritten the master branch to match the apache master. In order for the tags to be applied, the autolabeler config needs to be updated first and then changes will show up (they can't typically be intermixed in the same PR like the PRs in my personal repo make it look).

@rdblue
Copy link
Contributor

rdblue commented Sep 13, 2020

Thanks, @kbendick!

@rdblue rdblue merged commit f8bbc9f into apache:master Sep 13, 2020
@kbendick kbendick deleted the update-labeler-for-gradle-build-files branch September 13, 2020 23:31
@kbendick
Copy link
Contributor Author

Thanks, @kbendick!

No problem. Thank you for noticing this bug and tagging me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants